package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.SysAsstAppProxy;

import java.time.LocalDateTime;

/**
 * 用户自定义应用表 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "SysAsstApp", description = "用户自定义应用表")
@Table(value = "SYS_ASST_APP")
@EntityFileProxy
public class SysAsstApp implements ProxyEntityAvailable<SysAsstApp, SysAsstAppProxy> {

    /**
     * 分类ID
     */
    @Schema(description = "分类ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(primaryKey = true, value = "CATEGORY_ID")
    private String categoryId;

    /**
     * 模块ID
     */
    @Schema(description = "模块ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(primaryKey = true, value = "MODULE_ID")
    private String moduleId;

    /**
     * 用户界面展示名称
     */
    @Schema(description = "用户界面展示名称")
    @Column(value = "MODULE_NAME")
    private String moduleName;

    /**
     * 父模块ID
     */
    @Schema(description = "父模块ID")
    @Column(value = "PARENT_MODULE_ID")
    private String parentModuleId;

    /**
     * 1:为应用程序模块;2为网页模块
     */
    @Schema(description = "1:为应用程序模块;2为网页模块")
    @Column(value = "MODULE_TYPE")
    private String moduleType;

    /**
     * 0 内嵌TAB页,1模态对话框,2独立窗体,3独立进程,4方法调用
     */
    @Schema(description = "0 内嵌TAB页,1模态对话框,2独立窗体,3独立进程,4方法调用")
    @Column(value = "MODULE_RUN_TYPE")
    private String moduleRunType;

    /**
     * 0为不显示;1为显示,默认为1
     */
    @Schema(description = "0为不显示;1为显示,默认为1")
    @Column(value = "MODULE_VISIBLE")
    private String moduleVisible;

    /**
     * 应用程序路径
     */
    @Schema(description = "应用程序路径")
    @Column(value = "CS_FILEPATH")
    private String csFilepath;

    /**
     * BS模块调用网址
     */
    @Schema(description = "BS模块调用网址")
    @Column(value = "BS_URL")
    private String bsUrl;

    /**
     * 0为IE内核;1为谷歌内核
     */
    @Schema(description = "0为IE内核;1为谷歌内核")
    @Column(value = "BS_BROWSER_KENEL")
    private String bsBrowserKenel;

    /**
     * 模块参数值
     */
    @Schema(description = "模块参数值")
    @Column(value = "PARM_INFO")
    private String parmInfo;

    /**
     * 模块序号
     */
    @Schema(description = "模块序号")
    @Column(value = "MODULE_SEQ")
    private Short moduleSeq;

    @Column(value = "CREATE_DATE")
    private LocalDateTime createDate;

    @Column(value = "UPDATE_DATE")
    private LocalDateTime updateDate;

    @Column(value = "REMARK")
    private String remark;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    @Column(value = "USER_ID")
    private String userId;
}
